﻿using DL.PhotoCollage.UI.Screensaver.Views;
using DL.PhotoCollage.Wpf.Presentation;

namespace DL.PhotoCollage.UI.Screensaver.Presentation
{
    internal class SettingsPresenter : SetupPresenterBase
    {
        public SettingsPresenter(ScreensaverController controller)
            : base(controller)
        {
            var window = new SettingsView(this);
            window.Show();
        }

        public void Save()
        {
            this.Controller.ConfigurationRepository.Save(this.Controller.Configuration);
        }
    }
}
